#pragma once

#include <stdio.h>
#include <string.h>
#include "esp_err.h"
#include "esp_log.h"
#include "esp_vfs_fat.h"
#include "driver/spi_common.h"

#ifdef __cplusplus
extern "C" {
#endif

#define SPI_FLASH_MOUNT_POINT              "/spiflash"

esp_err_t spi_flash_fatfs_init(void);

#ifdef __cplusplus
}
#endif